package demo.DataStrucAndAlgo.Easy_pritice;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/10/7-10-07-17:05
 * @Description：demo.DataStrucAndAlgo.Easy_pritice
 */
public class test {
    public static void main(String[] args) {
        System.out.println(new test().foo(9));
    }
    int foo(int i){
        if(i<2) return 1;
        else return foo(i-3)+foo(i-2)+1;
    }
}
